home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #4 / Amiga Plus CD - 2000 - No. 4.iso / Tools / Misc / AmiSPICEed / bibs / Contr.Switches.bib < prev    next >
Encoding:
Text File  |  1999-04-01  |  1.7 KB  |  144 lines

  1. #AmiSPICEed library
  2. switches
  3. #ELEMENT
  4. Relais
  5. X
  6. RELAIS
  7. #SUBCIRCUIT
  8. Lrel 1 10 #1
  9. Rrel 10 2 #2
  10. S1 3 4 1 2 swmod1 ON
  11. S2 3 5 2 1 swmod2 ON
  12. .model swmod1 SW (VT=#3 VH=0.1V RON=0.001Ohm ROFF=10Meg)
  13. .model swmod2 SW (VT=-#3 VH=0.1V RON=0.001Ohm ROFF=10Meg)
  14. #END_MOD
  15. #NO_MODE
  16. Inductance:
  17. #1
  18. 10mH
  19. Resistance:
  20. #2
  21. 400Ohm
  22. Switching voltage:
  23. #3
  24. 8V
  25. #END_OPTS
  26. n+
  27. 10,-30,#DIR_UP
  28. n-
  29. -10,30,#DIR_DOWN
  30. in
  31. 50,-30,#DIR_UP
  32. out1
  33. 40,30,#DIR_DOWN
  34. out2
  35. 60,30,#DIR_DOWN
  36. #END_KNOTS
  37. L,-20,-20,20,-20
  38. L,20,-20,20,20
  39. L,20,20,-20,20
  40. L,-20,20,-20,-20
  41. L,10,-10,-10,10
  42. L,10,-30,10,-10
  43. L,-10,30,-10,10
  44. L,50,-30,50,-20
  45. L,40,30,40,20
  46. L,60,30,60,20
  47. C,50,-18,2,2
  48. C,40,18,2,2
  49. C,60,18,2,2
  50. L,50,-14,60,14
  51. L,5,-28,5,-22
  52. L,8,-25,2,-25
  53. L,25,0,27,0
  54. L,30,0,32,0
  55. L,35,0,37,0
  56. L,40,0,42,0
  57. L,45,0,47,0
  58. #END_GRAPH
  59. #ELEMENT
  60. vcsw
  61. S
  62. switch1
  63. sw
  64. VT=1 VH=0.1 RON=0.001 ROFF=1meg
  65. #END_MOD
  66. #NO_MODE
  67. options  <ON> <OFF>:
  68. #NO_IDENTIFIER
  69.  
  70. #END_OPTS
  71. n+
  72. 20,20,#DIR_DOWN
  73. n-
  74. 20,-20,#DIR_UP
  75. nc+
  76. -20,20,#DIR_DOWN
  77. nc-
  78. -20,-20,#DIR_UP
  79. #END_KNOTS
  80. S,0,20,0,0
  81. L,-30,15,30,15
  82. L,30,15,30,-15
  83. L,30,-15,-30,-15
  84. L,-30,-15,-30,15
  85. L,20,20,20,10
  86. L,20,-10,20,-20
  87. L,10,10,20,-10
  88. L,-20,20,-20,15
  89. L,-20,-15,-20,-20
  90. L,-20,14,-20,8
  91. L,-23,11,-17,11
  92. L,-23,-11,-17,-11
  93. #END_GRAPH
  94. #ELEMENT
  95. Voltage Switch
  96. X
  97. VSWITCH
  98. #SUBCIRCUIT
  99. S1 1 2 3 4 swmod #1
  100. .model swmod SW (VT=#2 VH=#3 RON=#4 ROFF=#5)
  101. #END_MOD
  102. #NO_MODE
  103. options  <ON> <OFF>:
  104. #1
  105.  
  106. Threshold voltage (VT):
  107. #2
  108. 1V
  109. Hysteresis voltage (VH):
  110. #3
  111. 0.1V
  112. On resistance (RON):
  113. #4
  114. 0.001
  115. Off resistance (ROFF):
  116. #5
  117. 1Meg
  118. #END_OPTS
  119. n+
  120. 20,20,#DIR_DOWN
  121. n-
  122. 20,-20,#DIR_UP
  123. nc+
  124. -20,20,#DIR_DOWN
  125. nc-
  126. -20,-20,#DIR_UP
  127. #END_KNOTS
  128. N,0,20,0,0
  129. L,-30,15,30,15
  130. L,30,15,30,-15
  131. L,30,-15,-30,-15
  132. L,-30,-15,-30,15
  133. L,20,20,20,10
  134. L,20,-10,20,-20
  135. L,10,10,20,-10
  136. L,-20,20,-20,15
  137. L,-20,-15,-20,-20
  138. L,-20,14,-20,8
  139. L,-23,11,-17,11
  140. L,-23,-11,-17,-11
  141. #END_GRAPH
  142. #END_BIB
  143.  
  144.